<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_dialog = 1;
include $this->admin_tpl('header', 'admin');
?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH;?>formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH;?>formvalidatorregex.js" charset="UTF-8"></script>
<script type="text/javascript">

</script>
  <style>
.tableK { font-size: 14px; border-spacing: 0px; border-bottom: 1px solid #999; width: 100%; }
.tableK tr th{ background-color: #CFDBEC; font-weight: bold; width: 160px; text-align: right; border-right: none; }
.tableK tr { }
.tableK td { border: 1px solid #999; border-bottom: none; padding: 4px 6px; }
.tableK td input[type='text'] { padding: 2px 4px; width: 300px; border: 1px solid #999; }
.tableK td textarea { border: 1px solid #999; }
.buttonpanle { width: 70%; text-align: center; margin-top: 4px; }
.mf-body-title { height: 40px; line-height: 40px; font-weight: bold; padding-left: 20px; }
</style>
  <div>
	<form action="/index.php?m=hchhr&c=job&a=mylist"  method="post" name="frmadd" id="frmadd">
		<table class="tableK" >
            <tbody>
				<tr>
		            <th>序号</th>
					<td>
						<input type="text" name="id" id="id" value="<?php echo $item['id'] ?>" readonly="readonly"/>
					</td>				
				</tr>
	            <tr>
                    <th>职位名称</th>
                    <td>
                        <input type="hidden" name="action" value="edit" />
                        <input type="hidden" name="company_id" value="<?PHP echo $companyId;?>" />
                        <input type="text" name="item[name]" id="name"  class="input-text"  value="<?PHP echo $item['name'];?>"/>*
                    </td>
                </tr>
                <tr>
                    <th>工作地点</th>
                    <td>
                        <input type="text" name="item[area]" id="area"  class="input-text"  value="<?PHP echo $item['area'];?>"/>
                    </td>
                </tr>
                <tr>
                    <th>职位月薪</th>
                    <td>
                        <input type="text" name="item[salary]" id="salary"  class="input-text"  value="<?PHP echo $item['salary'];?>"/>
                    </td>
                </tr>
                <tr>
                    <th>工作年限</th>
                    <td>
                        <input type="text" name="item[work_years]" id="work_years"  class="input-text"  value="<?PHP echo $item['work_years'];?>"/>
                    </td>
                </tr>
                <tr>
                    <th>职位描述</th>
                    <td>
                        <textarea rows="10" cols="50" name="item[job_desc]" id="job_desc"> <?PHP echo $item['job_desc'];?></textarea>
                        <?php echo form::editor('item[job_desc]','full');?>
                    </td>
                </tr>
                <tr>
                    <th>招聘人数</th>
                    <td>
                        <input type="text" name="item[number]" id="number"  class="input-text"  value="<?PHP echo $item['number'];?>"/>
                    </td>
                </tr>
                <tr>
                    <th>工作性质</th>
                    <td>
                        <select name="item[job_type]" id="job_type">
                        	<option value='1' <?php if($item['job_type']==1) echo "selected";?>>全职</option>
                        	<option value='2'<?php if($item['job_type']==2) echo "selected";?>>兼职</option>
                        	<option value='3'<?php if($item['job_type']==3) echo "selected";?>>全职或兼职</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>职位类别</th>
                    <td>
                        <input type="text" name="item[job]" id="job"  class="input-text"  value="<?PHP echo $item['job'];?>"/>
                    </td>
                </tr>
                <tr>
                    <th>标签</th>
                    <td>
                        <input type="text" name="item[tag]" id="tag"  class="input-text"  value="<?PHP echo $item['tag'];?>"/>
                    </td>
                </tr>
                <tr>
                    <th>最低学历</th>
                    <td>
                        <input type="text" name="item[education]" id="education"  class="input-text"  value="<?PHP echo $item['education'];?>"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <input type="submit" name="submit" id="submit" value="提交" />
                    </td>
                </tr>
	          </tbody>
	      </table>
      </form>
</div>
</body>
</html>